package com.gxa.logistics.service.impl;

import com.gxa.logistics.domain.dto.MaterialRecordDTO;
import com.gxa.logistics.domain.vo.MaterialRecordVO;
import com.gxa.logistics.mapper.MaterialRecordMapper;
import com.gxa.logistics.service.MaterialRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class MaterialRecordServiceImpl implements MaterialRecordService {
    @Autowired
    private MaterialRecordMapper materialRecordMapper;
    @Override
    public List<MaterialRecordVO> selectAllOpMaterial(MaterialRecordDTO materialRecordDTO) {
        return materialRecordMapper.selectAllOpMaterial(materialRecordDTO);
    }

    @Override
    public List<MaterialRecordVO> selectInNum(Integer i) {
        return materialRecordMapper.selectInNum(i);
    }

    @Override
    public List<MaterialRecordVO> selectOutNum(Integer i) {
        return materialRecordMapper.selectOutNum(i);
    }
}
